<form class="submitform" action="${path}/eframe/dict/info/info!save.action" method="post">
	<@s.token name="${m}"/>
	<input class="textbox-value" name="uplevelid" value="${id}"/>
	<table class="free">
		<tr>
			<th>上级字典名称：</th>
          	<td colspan=3><#if uplevelInfo?exists>${uplevelInfo.infoname}<#else>无</#if></td>
		</tr>
		<tr>
			<th>字典类型：</th>
          	<td>
          		<#if uplevelInfo?exists>
          			<input class="eui-combobox" name="dicttypeid" id="dicttypeid${m}" data-options="
							required:true,
							editable:false,
							url:'${path}/eframe/dict/type/type!getTypesByUplevelid.action?id=${uplevelInfo.dicttypeid}',
							method:'post',
							valueField:'id',
							textField:'typename',
							panelHeight:'auto'"/>
          		<#else>
          			<input class="eui-textbox" data-options="type:'hidden'" name="dicttypeid" id="dicttypeid${m}" value="${type.id}"/>
          			${type.typename}
          		</#if>
          	</td>
          	<th>字典顺序：</th>
          	<td>
          		<input class="eui-textbox" data-options="validType:['integer','max[5]']" name="sortno"/>
          	</td>
		</tr>
		<tr>
			<th width='15%'>字典名称：</th>
          	<td width='35%'>
          		<input class="eui-textbox" data-options="required:true,validType:['first[\'字典类型\',\'dicttypeid${m}\']','unnormal','max[100]','unique[\'com.etb.wisdom.eframe.model.EtbDictinfo\',\'infoname\',\'dicttypeid${m}\']']" name="infoname"/>
          	</td>
          	<th width='15%'>字典编码：</th>
          	<td width='35%'>
          		<input class="eui-textbox" data-options="required:true,validType:['first[\'字典类型\',\'dicttypeid${m}\']','unnormal','max[100]','unique[\'com.etb.wisdom.eframe.model.EtbDictinfo\',\'infocode\',\'dicttypeid${m}\']']" name="infocode"/>
          	</td>
		</tr>
	</table>
</form>